/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.config.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.icinfo.framework.mybatis.mapper.annotation.Before;
import lombok.Data;
import org.checkerframework.checker.units.qual.C;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

/**
 * 描述: 立案材料配置表 config_register_case_file 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年11月30日
 */
@Data
@Table(name = "upcase.config_register_case_file")
public class ConfigRegisterCaseFile implements Serializable {
    /**
     * id
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 外键（config_register_case）id
     */
    @Column(name = "rel_id")
    private String relId;

    /**
     * 材料类型编码
     */
    @Column(name = "type_code")
    private String typeCode;

    /**
     * 材料说明
     */
    @Column(name = "detail")
    private String detail;

    /**
     * 是否必填(0-否  1-是)
     */
    @Column(name = "is_must")
    private String isMust;

    /**
     * 备注说明
     */
    @Column(name = "remark")
    private String remark;

    /**
     * 是否删除(0-否  1-是)
     */
    @Column(name = "is_delete")
    private String isDelete;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 排序
     */
    @Column(name = "sort")
    private String sort;

    private static final long serialVersionUID = 1L;

}
